BspKnotAffineTrans

Section: C Library Functions (3)
Updated: IRIT Version 6.0
Index Return to Main Contents
 

NAME

BspKnotAffineTrans()  

SYNOPSIS

cagd_lib/bsp_knot.c:448

void BspKnotAffineTrans(CagdRType *KnotVector,
                        int Len,
                        CagdRType Translate,
                        CagdRType Scale)
 

DESCRIPTION

Applies an affine transformation to the given knot vector. Note affine transformation on the knot vector does not change the Bspline curve. Knot vector is translated by Translate amount and scaled by Scale as
  KV[i] = (KV[i] - KV[0]) * Scale + (KV0 + Translate). All transformation as taken place in place.  

PARAMETERS:

KnotVector: To affinely transform.

Len: Of knot vector. This is not the length of the curve or surface using this knot vector.

Translate: Amount to translate the knot vector.

Scale: Amount to scale the knot vector.  

FUNCTION RETURN VALUE

void

 

ORIGIN

(C) Copyright 1989/90-95 Gershon Elber, Technion, IIT


 

Index

NAME
SYNOPSIS
DESCRIPTION
PARAMETERS:
FUNCTION RETURN VALUE
ORIGIN

This document was created by man2html, using the manual pages.
Time: 07:27:12 GMT, October 17, 2022